System, method and apparatus for controlling converters using input-output linearization

ABSTRACT

A system, method and apparatus for controlling boost and buck-boost converters using input-output linearization and leading-edge modulation is provided. The controller includes a summing circuit connected to the converter to create a third voltage representing a difference between the first voltage and the second voltage. A gain circuit is connected to the summing circuit to adjust the third voltage by an appropriate gain. A modulating circuit is connected to the gain circuit, the converter, the first voltage, the second voltage and the second current to create a control signal based on the first voltage, the second voltage, the adjusted third voltage, the fourth voltage and the first current. The control signal is used to control the converter. Typically, the first voltage is a converter output voltage, the second voltage is a reference voltage, the fourth voltage is a converter input voltage, and first current is a converter inductor current.

RELATED APPLICATIONS

This application is related to U.S. Pat. No. 7,482,794 issued on Jan. 27, 2009.

FIELD OF THE INVENTION

The present invention relates generally to providing modulation signals to electrical circuits and, more particularly, to a system, method and apparatus for controlling converters using input-output linearization and leading-edge modulation.

BACKGROUND OF THE INVENTION

Power converters are used to convert one form of energy to another (e.g., AC to AC, AC to DC, DC to AC, and DC to DC) thereby making it usable to the end equipment, such as computers, automobiles, electronics, telecommunications, space systems and satellites, and motors. Every application of power electronics involves some aspect of control. Converters are typically identified by their capability and/or configurations, such as, buck converters, boost converters, buck-boost converters, boost-buck converters (Ćuk), etc. For example, DC-DC converters belong to a family of converters known as “switching converters” or “switching regulators.” This family of converters is the most efficient because the conversion elements switch from one state to another, rather than needlessly dissipating power during the conversion process. Essentially there is a circuit with switches and two configurations (each can be modeled as linear systems) in which the converter resides according to the switch positions. The duty ratio (d) is the ratio indicating the time in which a chosen switch is in the “on” position while the other switch is in the “off” position, and this d is considered to be the control input. Input d is usually driven by pulse-width-modulation (PWM) techniques.

Switching from one state to another and the accompanying nonlinearity of the system causes problems. State space averaging reduces the switching problems to make the system, in general, a nonlinear averaged system for a boost converter or a buck-boost converter. But, control of the system under these nonlinear effects becomes difficult when certain performance objectives must be met. For the most part linearization is done through a Taylor series expansion. Nonlinear terms of higher orders are thrown away and a linear approximation replaces the nonlinear system. This linearization method has proven effective for stabilizing control loops at a specific operating point. However, use of this method requires making several assumptions, one of them being so-called “small signal operation.” This works well for asymptotic stability in the neighborhood of the operating point, but ignores large signal effects which can result in nonlinear operation of the control loop when, for example, an amplifier saturates during startup, or during transient modes, such as load or input voltage changes. Once nonlinear operation sets in, the control loop can have equilibrium points unaccounted for in the linearization.

One of the most widely used methods of pulse-width modulation is trailing-edge modulation (TEM), wherein the on-time pulse begins on the clock and terminates in accordance with a control law. Unstable zero dynamics associated with TEM in the continuous conduction mode (CCM) prevent the use of an input-output feedback linearization because it would result in an unstable operating point. The other control method is leading-edge modulation (LEM), wherein the on-time pulse begins in accordance with a control law and terminates on the clock. The difference between LEM and TEM is that in TEM the pulse-width is determined by the instantaneous control voltage ν_(c) prior to switch turn-off, whereas in LEM the pulse-width is determined by ν_(c) prior to switch turn-on.

There is, therefore, a need for a system, method and apparatus for controlling converters using input-output linearization that does not constrain stability to one operating point, but rather to a set of operating points spanning the expected range of operation during startup and transient modes of operation.

SUMMARY OF THE INVENTION

The present invention provides a system, method and apparatus for controlling converters using input-output linearization that does not constrain stability to one operating point, but rather to a set of operating points spanning the expected range of operation during startup and transient modes of operation. In particular, the present invention uses leading edge modulation and input output linearization to compute the duty ratio of a boost converter or a buck-boost converter. The present invention can also be applied to other converter types. Moreover, the parameters in this control system are programmable, and hence the algorithm can be easily implemented on a DSP or in silicon, such as an ASIC.

Notably, the present invention provides at least four advantages compared to the dominant techniques currently in use for power converters. The combination of leading-edge modulation and input-output linearization provides a linear system instead of a nonlinear system. In addition, the “zero dynamics” becomes stable because the zeros of the linear part of the system are in the open left half plane. The present invention is also independent of stabilizing gain, as well as desired output voltage or desired output trajectory.

More specifically, the present invention provides a system that includes a boost or buck-boost converter having a first voltage at an output of the converter and a first current at an inductor within the converter, a reference voltage source having a second voltage, a fourth voltage from a voltage source providing an input voltage to the converter, and a PWM modulator/controller. The PWM modulator/controller includes a summing circuit connected to the converter and the reference voltage source to create a third voltage representing a difference between the first voltage from the output of the converter and the second voltage from the reference voltage source. A gain circuit is connected to the summing circuit to adjust the third voltage by a proportional gain or by any suitable type of controller, such as proportional (P), integral (I) or derivative (D) (or any combination of these three) controller. A modulating circuit is connected to the gain circuit, the converter to create a control signal that provides leading-edge modulation with input-output linearization based on the first voltage, the second voltage from the reference voltage source, the adjusted third voltage from the gain circuit, the fourth voltage from the voltage source or the input of the converter, and the first current from the inductor within the converter. The control signal is then used to control the converter. Whenever the converter is a boost converter, the control signal has a duty cycle defined by

$d = {\frac{\begin{matrix} {{\left( {{{RR}_{c}C} + L} \right)y} - {\left( {L - {R_{s}R_{c}C}} \right){Rx}_{1}} -} \\ {{{RR}_{c}{Cu}_{0}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}} \end{matrix}}{R\left( {{R_{c}{Cy}} - {\frac{LR}{R + R_{c}}x_{1}}} \right)}.}$

Whenever the converter is a buck-boost converter, the control signal has a duty cycle defined by

$d = {\frac{{\left( {{{RR}_{c}C} + L} \right)y} + {\left( {L - {R_{c}R_{s}C}} \right){Rx}_{1}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}}{R\left( {{R_{c}{Cy}} + {\frac{LR}{R + R_{c}}x_{1}} - {R_{c}{Cu}_{0}}} \right)}.}$

Note that the second voltage source can be integrated into the PWM modulator/controller. In addition, the PWM modulator/controller can be implemented using a digital signal processor, a field programmable gate array (FPGA) or conventional electrical circuitry. Moreover, the converter can be controlled with a proportional controller, or any suitable type of controller, such as a proportional (P), integral (I) or derivative (D) (or any combination of these three) controller, by replacing k(y₀−y) in the equation defining the duty cycle d with

$\left( {k_{P} + \frac{k_{i}}{s} + {k_{d}s}} \right)\left( {y_{0} - y} \right)$

where k_(p), k_(i), and k_(d) are the gains of the proportional, integral, and derivative terms of the controller.

The present invention also provides an apparatus that includes one or more electrical circuits that provide a control signal to a boost converter such that a duty cycle of the control signal is defined as

$d = {\frac{\begin{matrix} {{\left( {{{RR}_{c}C} + L} \right)y} - {\left( {L - {R_{s}R_{c}C}} \right){Rx}_{1}} -} \\ {{{RR}_{c}{Cu}_{0}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}} \end{matrix}}{R\left( {{R_{c}{Cy}} - {\frac{LR}{R + R_{c}}x_{1}}} \right)}.}$

Similarly, the present invention provides an apparatus that includes one or more electrical circuits that provide a control signal to a buck-boost converter such that a duty cycle of the control signal is defined as

$d = {\frac{{\left( {{{RR}_{c}C} + L} \right)y} + {\left( {L - {R_{c}R_{s}C}} \right){Rx}_{1}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}}{R\left( {{R_{c}{Cy}} + {\frac{LR}{R + R_{c}}x_{1}} - {R_{c}{Cu}_{0}}} \right)}.}$

In either case, the apparatus may include a summing circuit, a gain circuit, a modulating circuit and various connections. The connections include a first connection to receive a first voltage from an output of the converter, a second connection to receive a second voltage from a reference voltage source, a third connection to receive a first current from an inductor within the converter, a fourth connection to receive an input voltage from a voltage source providing an input to converter and a fifth connection to output a control signal to the converter. The summing circuit is connected to the first connection and the second connection to create a third voltage representing a difference between the first voltage from the output of the converter and the second voltage from the reference voltage source. The gain circuit is connected to the summing circuit to adjust the third voltage by a proportional gain or by any suitable type of controller, such as proportional (P), integral (I) or derivative (D) (or any combination of these three) controller. The modulating circuit is connected to the gain circuit, the second connection, the third connection, the fourth connection and the fifth connection. The modulation circuit creates a control signal that provides leading-edge modulation with input-output linearization based on the first voltage from the output of the converter, the second voltage from the reference voltage source, the adjusted third voltage from the gain circuit, the fourth voltage from the voltage source or the input of the converter, and the first current from the inductor within the converter.

Moreover, the present invention can be sold as a kit for engineers to design and implement a PWM modulated converter (boost or buck-boost). The kit may include a digital signal processor, or field programmable gate array (FPGA), and a computer program embodied on a computer readable medium for programming the digital signal processor, or FPGA, to control the PWM modulated converter. The computer program may also include one or more design tools. The digital signal processor, or FPGA, includes a summing circuit, a gain circuit, a modulating circuit and various connections. The various connections include a first connection to receive a first voltage from an output of the converter, a second connection to receive a second voltage from a reference voltage source, a third connection to receive a first current from an inductor within the converter, a fourth connection to receive the input voltage from a voltage source providing an input to converter, and a fifth connection to output a control signal to the converter. The summing circuit is connected to the first connection and the second connection to create a third voltage representing a difference between the first voltage from the output of the converter and the second voltage from the reference voltage source. The gain circuit is connected to the summing circuit to adjust the third voltage by a proportional gain or by any suitable type of controller, such as proportional (P), integral (I) or derivative (D) (or any combination of these three) controller. The modulating circuit is connected to the gain circuit, the second connection, the third connection, the fourth connection and the fifth connection. The modulation circuit creates a control signal that provides leading-edge modulation with input-output linearization based on the first voltage from the output of the converter, the second voltage from the reference voltage source, the adjusted third voltage from the gain circuit, fourth voltage from the voltage source or the input of the converter, and a first current from the inductor within the converter. Whenever the converter is a boost converter, the control signal has a duty cycle defined by

$d = {\frac{\begin{matrix} {{\left( {{{RR}_{c}C} + L} \right)y} - {\left( {L - {R_{s}R_{c}C}} \right){Rx}_{1}} -} \\ {{{RR}_{c}{Cu}_{0}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}} \end{matrix}}{R\left( {{R_{c}{Cy}} - {\frac{LR}{R + R_{c}}x_{1}}} \right)}.}$

Whenever the converter is a buck-boost converter, the control signal has a duty cycle defined by

$d = {\frac{{\left( {{{RR}_{c}C} + L} \right)y} + {\left( {L - {R_{c}R_{s}C}} \right){Rx}_{1}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}}{R\left( {{R_{c}{Cy}} + {\frac{LR}{R + R_{c}}x_{1}} - {R_{c}{Cu}_{0}}} \right)}.}$

Furthermore, the present invention provides a method for controlling a boost or buck-boost converter using a PWM modulator/controller by receiving a first voltage from an output of the converter, a second voltage from a reference voltage source, a first current from an inductor within the converter, and creating a third voltage representing a difference between the first voltage from the output of the converter and the second voltage from the reference voltage source and a fourth voltage from a voltage source or the input of the converter. The third voltage is then adjusted by a proportional gain or by any suitable type of controller, such as proportional (P), integral (I) or derivative (D) (or any combination of these three) controller. The control signal is created that provides leading-edge modulation with input-output linearization based on the first voltage from the output of the converter, the second voltage from the reference voltage source, the adjusted third voltage, the fourth voltage from the voltage source or the input of the converter, and the first current from the inductor within the converter. The converter is then controlled using the control signal created by the PWM modulator/controller. Whenever the converter is a boost converter, the control signal has a duty cycle defined by

$d = {\frac{\begin{matrix} {{\left( {{{RR}_{c}C} + L} \right)y} - {\left( {L - {R_{s}R_{c}C}} \right){Rx}_{1}} -} \\ {{{RR}_{c}{Cu}_{0}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}} \end{matrix}}{R\left( {{R_{c}{Cy}} - {\frac{LR}{R + R_{c}}x_{1}}} \right)}.}$

Whenever the converter is a buck-boost converter, the control signal has a duty cycle defined by

$d = {\frac{{\left( {{{RR}_{c}C} + L} \right)y} + {\left( {L - {R_{c}R_{s}C}} \right){Rx}_{1}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}}{R\left( {{R_{c}{Cy}} + {\frac{LR}{R + R_{c}}x_{1}} - {R_{c}{Cu}_{0}}} \right)}.}$

Note that the converter can be controlled with a proportional controller, or any suitable type of controller, such as proportional (P), integral (I) or derivative (D) (or any combination of these three) controller, by replacing k(y₀−y) in the equation defining the duty cycle d with

$\left( {k_{P} + \frac{k_{i}}{s} + {k_{d}s}} \right)\left( {y_{0} - y} \right)$

where k_(p), k_(i), and k_(d) are the gains of the proportional, integral, and derivative terms of the controller. Moreover, the control signal can be created using a first order system, or can be independent of a stabilizing gain, a desired output voltage or a desired output trajectory. Likewise, the present invention may include a computer program embodied within a digital signal processor, or FPGA, wherein the steps are implemented as one or more code segments.

Other features and advantages of the present invention will be apparent to those of ordinary skill in the art upon reference to the following detailed description taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and further advantages of the invention may be better understood by referring to the following description in conjunction with the accompanying drawings, in which:

FIG. 1 is a block diagram of a system in accordance with the present invention;

FIG. 2 is a block diagram of a modulator/controller in accordance with the present invention;

FIG. 3A is a flow chart of a method for controlling a boost converter using a PWM modulator/controller in accordance with the present invention;

FIG. 3B is a flow chart of a method for controlling a buck-boost converter using a PWM modulator/controller in accordance with the present invention;

FIGS. 4A and 4B are graphs of trailing-edge modulation of a PWM signal and leading-edge modulation of a PWM signal;

FIG. 5 is circuit diagram of a boost converter and a modulator/controller in accordance with the present invention;

FIGS. 6A and 6B are linear circuit diagrams of a boost converter during time DTs and D′Ts, respectively in accordance with the present invention;

FIG. 7 is a graph of typical waveforms for the boost converter for the two switched intervals DTs and D′Ts in accordance with the present invention;

FIG. 8 is circuit diagram of a buck-boost converter and a modulator/controller in accordance with the present invention;

FIGS. 9A and 9B are linear circuit diagrams of a buck-boost converter during time DTs and D′Ts, respectively in accordance with the present invention; and

FIG. 10 is a graph of typical waveforms for the buck-boost converter for the two switched intervals DTs and D′Ts in accordance with the present invention.

DETAILED DESCRIPTION OF THE INVENTION

While the making and using of various embodiments of the present invention are discussed in detail below, it should be appreciated that the present invention provides many applicable inventive concepts that can be embodied in a wide variety of specific contexts. The specific embodiments discussed herein are merely illustrative of specific ways to make and use the invention and do not delimit the scope of the invention.

The present invention provides a system, method and apparatus for controlling converters using input-output linearization that does not constrain stability to one operating point, but rather to a set of operating points spanning the expected range of operation during startup and transient modes of operation. In particular, the present invention uses leading-edge modulation and input-output linearization to compute the duty ratio of a boost converter or a buck-boost converter. The present invention can also be applied to other converter types. Moreover, the parameters in this control system are programmable, and hence the algorithm can be easily implemented on a DSP or in silicon, such as an ASIC.

Notably, the present invention provides at least four advantages compared to the dominant techniques currently in use for power converters. The combination of leading-edge modulation and input-output linearization provides a linear system instead of a nonlinear system. In addition, the “zero dynamics” becomes stable because the zeros of the linear part of the system are in the open left half plane. The present invention is also independent of stabilizing gain, as well as desired output voltage or desired output trajectory.

As previously described, trailing-edge modulation for boost and buck-boost converters operating in the continuous conduction mode gives rise to unstable zero dynamics where the linear part of the system about an operating point has a right half plane zero. In contrast, the present invention employs leading-edge modulation, along with some very simple design constraints, that change the zero dynamics so that the linear part of the system has only open left half plane zeros. Since the nonlinear system now possesses stable zero dynamics, input-output feedback linearization can be used. To apply this method, the actual output y is chosen as output function h(x), and y is repeatedly differentiated until the input u appears. The number of differentiations, r, is called the relative degree of the system. The present invention has a relative degree r=1. The linearizing transformation for d is solved and used for the control input. This transformation is local in nature, but it can be applied in a neighborhood of any state space operating point in DC-DC conversion.

It is desirable to choose any operating point for the nonlinear system. This operating point can be made locally asymptotically stable by the above process if a gain k is chosen to be positive. The gain k does not have to be adjusted for each operating point, i.e., no gain scheduling is required. However, the reference input will have to be walked up, which is typical of soft-start operation, to insure convergence to the operating point. Note that Proportional (P), Integral (I), Derivative (D), Proportional-Integral (PI), and Proportional-Integral-Derivative (PID) control loops can be added for robustness.

Now referring to FIG. 1, a block diagram of a system 100 in accordance with the present invention is shown. The system includes a power source (voltage) 102 connected to a converter 104 that provides power to a load 106. The converter 104 is either a boost converter or a buck-boost converter. The converter 104 is also connected to the PWM modulator/controller 108. The PWM modulator/controller 108 receives a first voltage 110 from an output of the converter 104, a second voltage (reference voltage) 112 from a voltage reference source (not shown), a first current 114 from an inductor within the converter, and a fourth voltage 116 from the voltage source 102 (i.e., the input voltage to the converter 104). A summing circuit within the PWM modulator and controller 108 creates a third voltage representing the difference between the first voltage 110 from the output of the converter 104 and the second voltage 112 from the reference voltage source. Note that the source of the second voltage 112 (voltage reference source) can be integrated within or external to the PWM modulator/controller 108. The PWM modulator/controller 108 uses the first voltage 110, the second voltage 112, the first current 114 and the fourth voltage 116 to generate a control signal 118 that is used to control the converter 104. The details of how the PWM modulator/controller 108 generates the control signal 118 will be described in more detail below. In addition, the PWM modulator/controller 108 can be implemented using a digital signal processor, an FPGA, or conventional electrical circuitry.

Referring now to FIGS. 1 and 2, a block diagram of a modulator/controller 108 in accordance with the present invention is shown. The modulator/controller 108 includes a summing circuit 200, a gain circuit 204, a modulating circuit 208 and various connections. The connections include a first connection to receive a first voltage (output voltage (y)) 110 from the converter 104, a second connection to receive a second voltage (reference voltage (y₀)) 112 from a reference voltage source (not shown), a third connection to receive a first current (inductor current (x₁)) 114 from the converter 104, a fourth connection to receive an input voltage (u₀) 116 from the voltage source 102 (i.e., the input voltage to the converter 104), and a fifth connection to output a control signal (d) 118 to the converter 104. The summing circuit 200 is connected to the first connection and the second connection to create a third voltage (Δy) 202 representing a difference between the first voltage (y) 110 and the second voltage (y₀) 112. The gain circuit 204 is connected to the summing circuit 200 to adjust the third voltage (Δy) 202 by a proportional gain (k), or by any suitable controller, such as proportional (P), integral (I) or derivative (D) (or any combination of these three) controller. The modulating circuit 208 is connected to the gain circuit 204, the second connection, the third connection, the fourth connection and the fifth connection. The modulation circuit 208 creates a control signal (d) 118 that provides leading-edge modulation with input-output linearization based on the first voltage (y) 110, the second voltage (y₀) 112, the adjusted third voltage (kΔy) 206, the first current (x₁) 114 and the fourth voltage (u₀) 116. Whenever the converter 104 is a boost converter, the control signal (d) 118 has a duty cycle defined by

$d = {\frac{\begin{matrix} {{\left( {{{RR}_{c}C} + L} \right)y} - {\left( {L - {R_{s}R_{c}C}} \right){Rx}_{1}} -} \\ {{{RR}_{c}{Cu}_{0}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}} \end{matrix}}{R\left( {{R_{c}{Cy}} - {\frac{LR}{R + R_{c}}x_{1}}} \right)}.}$

Whenever the converter 104 is a buck-boost converter, the control signal (d) 118 has a duty cycle defined by

$d = {\frac{{\left( {{{RR}_{c}C} + L} \right)y} + {\left( {L - {R_{c}R_{s}C}} \right){Rx}_{1}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}}{R\left( {{R_{c}{Cy}} + {\frac{LR}{R + R_{c}}x_{1}} - {R_{c}{Cu}_{0}}} \right)}.}$

The present invention also provides an apparatus having one or more electrical circuits that provide a control signal 118 to a boost converter such that a duty cycle of the control signal is defined as

$d = {\frac{\begin{matrix} {{\left( {{{RR}_{c}C} + L} \right)y} - {\left( {L - {R_{s}R_{c}C}} \right){Rx}_{1}} -} \\ {{{RR}_{c}{Cu}_{0}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}} \end{matrix}}{R\left( {{R_{c}{Cy}} - {\frac{LR}{R + R_{c}}x_{1}}} \right)}.}$

Similarly, the present invention provides an apparatus having one or more electrical circuits that provide a control signal 118 to a buck-boost converter such that a duty cycle of the control signal is defined as

$d = {\frac{{\left( {{{RR}_{c}C} + L} \right)y} + {\left( {L - {R_{c}R_{s}C}} \right){Rx}_{1}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}}{R\left( {{R_{c}{Cy}} + {\frac{LR}{R + R_{c}}x_{1}} - {R_{c}{Cu}_{0}}} \right)}.}$

In either case, the apparatus may include a summing circuit, a gain circuit, a modulating circuit and various connections. The connections include a first connection to receive a first voltage (y) 110 from the converter 104, a second connection to receive a second voltage (y₀) 112 from a reference voltage source, a third connection to receive a first current (x₁) 114 from the converter 104, a fourth connection to receive a fourth voltage (u₀) 116 from the voltage source 102 (i.e., the input voltage to the converter 104), and a fifth connection to output a control signal (d) 118 to the converter 104. The summing circuit 200 is connected to the first connection and the second connection to create a third voltage (Δy) 202 representing a difference between the first voltage (y) 110 and the second voltage (y₀) 112. The gain circuit 204 is connected to the summing circuit 200 to adjust the third voltage (Δy) 202 by a proportional gain (k), or by any suitable controller, such as proportional (P), integral (I) or derivative (D) (or any combination of these three) controller. The modulating circuit 208 is connected to the gain circuit 204, the second connection, the third connection, the fourth connection and the fifth connection. The modulation circuit 208 creates a control signal (d) that provides leading-edge modulation with input-output linearization based on the first voltage (y) 110 from the output of the converter 104, the second voltage (y₀) 112 from the reference voltage source, the adjusted third voltage (kΔy) 206 from the gain circuit 204, the first current (x₁) 114 from the inductor within the converter 104 and the fourth voltage (u₀) 116 from the voltage source 102 (i.e., the input voltage to the converter 104).

The present invention can be sold as a kit for engineers to design and implement a PWM modulated converter (boost or buck-boost). The kit may include a digital signal processor, or FPGA, and a computer program embodied on a computer readable medium for programming the digital signal processor, or FPGA, to control the PWM modulated converter. The computer program may also include one or more design tools. The digital signal processor, or FPGA, includes a summing circuit 200, a gain circuit 204, a modulating circuit 208 and various connections. The connections include a first connection to receive a first voltage 110, a second connection to receive a second voltage 112, a third connection to receive a first current 114, a fourth connection to receive an input voltage 116, and a fifth connection to output a control signal 118. The summing circuit 200 is connected to the first connection and the second connection to create a third voltage (Δy) 202 representing a difference between the first voltage and the second voltage. The gain circuit 204 is connected to the summing circuit 200 to adjust the third voltage (Δy) 202 by a proportional gain (k) or by any suitable controller, such as proportional (P), integral (I) or derivative (D) (or any combination of these three) controller. The modulating circuit 208 is connected to the gain circuit 204, the second connection, the third connection, the fourth connection and the fifth connection. The modulation circuit 208 creates a control signal 118 that provides leading-edge modulation with input-output linearization based on the first voltage (y) 110, the second voltage (y₀) 112, the adjusted third voltage (kΔy) 206, the first current (x₁) 114 and the input voltage (u₀) 116. Whenever the converter 104 is a boost converter, the control signal (d) 118 has a duty cycle defined by

$d = {\frac{\begin{matrix} {{\left( {{{RR}_{c}C} + L} \right)y} - {\left( {L - {R_{s}R_{c}C}} \right){Rx}_{1}} -} \\ {{{RR}_{c}{Cu}_{0}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}} \end{matrix}}{R\left( {{R_{c}{Cy}} - {\frac{LR}{R + R_{c}}x_{1}}} \right)}.}$

Whenever the converter 104 is a buck-boost converter, the control signal (d) 118 has a duty cycle defined by

$d = {\frac{{\left( {{{RR}_{c}C} + L} \right)y} + {\left( {L - {R_{c}R_{s}C}} \right){Rx}_{1}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}}{R\left( {{R_{c}{Cy}} + {\frac{LR}{R + R_{c}}x_{1}} - {R_{c}{Cu}_{0}}} \right)}.}$

As implemented in the system of FIG. 1, the first voltage 110 is an output voltage from the converter 104, the second voltage 112 is a reference voltage, the first current 114 is an inductor current from the converter 104 and the fourth voltage 116 is the voltage provided by the voltage source 102 as the input voltage of the converter 104.

Now referring to FIG. 3A, a flow chart 300 of a control method for a boost converter in accordance with the present invention is shown. The boost converter is controlled by receiving a first voltage (y) from an output of a boost converter, a second voltage (y₀) from a reference voltage source, a first current (x₁) from an inductor within the boost converter and a fourth voltage (u₀) from the input of the converter at a PWM modulator/controller in block 302. A third voltage (Δy) is created representing a difference between the first voltage (y) and the second voltage (y₀) in block 304. The third voltage (y₀) is adjusted by a proportional gain (k) or any suitable type of controller, such as proportional (P), integral (I) or derivative (D) (or any combination of these three) by replacing k(y₀−y) in the equation defining the duty cycle d with

$\left( {k_{P} + \frac{k_{i}}{s} + {k_{d}s}} \right)\left( {y_{0} - y} \right)$

where k_(p), k_(i), and k_(d) are the gains of the proportional, integral, and derivative terms of the controller in block 306. If k_(i) and k_(d) are both zero, then the controller reduces to a proportional controller. If only k_(d) is zero, then the controller reduces to a proportional-integral (PI) controller. The control signal (d) is created in block 308 that provides leading-edge modulation with input-output linearization based on the first voltage (y), the second voltage (y₀), the adjusted third voltage (kΔy), the first current (x₁) and the fourth voltage (u₀), wherein the control signal (d) has a duty cycle defined by

$d = {\frac{\begin{matrix} {{\left( {{{RR}_{c}C} + L} \right)y} - {\left( {L - {R_{s}R_{c}C}} \right){Rx}_{1}} -} \\ {{{RR}_{c}{Cu}_{0}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}} \end{matrix}}{R\left( {{R_{c}{Cy}} - {\frac{LR}{R + R_{c}}x_{1}}} \right)}.}$

The boost converter is then controlled using the control signal (d) created by the PWM modulator/controller in block 310. In an optional embodiment, the boost converter is controlled in block 312 using a proportional controller, or any suitable type of controller, such as proportional (P), integral (I) or derivative (D) (or any combination of these three) by replacing k (y₀−y) in the equation defining the duty cycle d with

$\left( {k_{P} + \frac{k_{i}}{s} + {k_{d}s}} \right)\left( {y_{0} - y} \right)$

where k_(p), k_(i), and k_(d) are the gains of the proportional, integral, and derivative terms of the controller. If k_(i) and k_(d) are both zero, then the controller reduces to a proportional controller. If only k_(d) is zero, then the controller reduces to a proportional-integral (PI) controller. Note that the control signal can be created using a first order system, or can be independent of a stabilizing gain, a desired output voltage or a desired output trajectory. Likewise, the present invention may include a computer program embodied within a digital signal processor, or FPGA, wherein the steps are implemented as one or more code segments.

Now referring to FIG. 3B, a flow chart 350 of a control method for a buck-boost converter in accordance with the present invention is shown. The buck-boost converter is controlled by receiving a first voltage (y) from an output of a buck-boost converter, a second voltage (y₀) from a reference voltage source, a first current (x₁) from an inductor within the buck-boost converter and a fourth voltage (u₀) from voltage source providing an input to the buck-boost converter at a PWM modulator/controller in block 352. A third voltage (Δy) is created representing a difference between the first voltage (y) and the second voltage (y₀) in block 304. The third voltage (y₀) is adjusted by a proportional gain (k), or any suitable type of controller, such as a proportional (P), integral (I) or derivative (D) (or any combination of these three) controller, by replacing k (y₀−y) in the equation defining the duty cycle d with

$\left( {k_{P} + \frac{k_{i}}{s} + {k_{d}s}} \right)\left( {y_{0} - y} \right)$

where k_(p), k_(i), and k_(d) are the gains of the proportional, integral, and derivative terms of the controller in block 306. If k_(i) and k_(d) are both zero, then the controller reduces to a proportional controller. If only k_(d) is zero, then the controller reduces to a proportional-integral (PI) controller. The control signal (d) is created in block 354 that provides leading-edge modulation with input-output linearization based on the first voltage (y), the second voltage (y₀), the adjusted third voltage (kΔy), the first current (x₁) and the fourth voltage (u₀), wherein the control signal (d) has a duty cycle defined by

$d = {\frac{{\left( {{{RR}_{c}C} + L} \right)y} + {\left( {L - {R_{c}R_{s}C}} \right){Rx}_{1}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}}{R\left( {{R_{c}{Cy}} + {\frac{LR}{R + R_{c}}x_{1}} - {R_{c}{Cu}_{0}}} \right)}.}$

The buck-boost converter is then controlled using the control signal (d) created by the PWM modulator/controller in block 356. In an optional embodiment, the buck-boost converter is controlled in block 358 using a proportional controller, or any suitable type of controller, such as a proportional (P), integral (I) or derivative (D) (or any combination of these three) controller, by replacing k (y₀−y) in the equation defining the duty cycle d with

$\left( {k_{P} + \frac{k_{i}}{s} + {k_{d}s}} \right)\left( {y_{0} - y} \right)$

where k_(p), k_(i), and k_(d) are the gains of the proportional, integral, and derivative terms of the controller. If k_(i) and k_(d) are both zero, then the controller reduces to a proportional controller. If only k_(d) is zero, then the controller reduces to a proportional-integral (PI) controller. Note that the control signal can be created using a first order system, or can be independent of a stabilizing gain, a desired output voltage or a desired output trajectory. Likewise, the present invention may include a computer program embodied within a digital signal processor, or FPGA, wherein the steps are implemented as one or more code segments.

A more detailed description of the models used in the present invention will now be described. State space averaging allows the adding together of the contributions for each linear circuit during its respective time interval. This is done by using the duty ratio as a weighting factor on each interval. As shown below, this weighting process leads to a single set of equations for the states and the output. But first, the system will be described by its state space equations.

Assume that a linear system (A, b) is described by

{dot over (x)}(t)=Ax(t)+bu(t)  (1)

where Aε

is an ‘n×n’ matrix, and bε

is an ‘n×1’ column vector.

As previously mentioned, the duty ratio d is the ratio indicating the time in which a chosen switch is in the “on” position while the other switch is in the “off” position. Ts is the switching period. The “on” time is then denoted as dTs. The general state equations for any type of converter consisting of two linear switched networks are as follows:

For 0≦t≦dTs,

{dot over (x)}(t)=A _(α) x(t)+b _(α) u(t)  (2a)

dTs≦t≦Ts,

{dot over (x)}(t)=A _(β) x(t)+b _(β) u(t)  (2b)

The equations in (2a) can be combined with the equations in (2b) using the duty ratio, d, as a weighting factor. Thus,

{dot over (x)}(t)=(dA _(α) +d′A _(β))x(t)+(db _(α) +d′b _(β))u(t)  (3)

which can be written in the form of equation (1) as

{dot over (x)}(t)=Ax(t)+bu(t)  (4)

with

A=dA _(α) +d′A _(β)

and

b=db _(α) +d′b _(β)

where d′=1−d.

The buck cell is linear after state-space averaging and is therefore the easiest topology to control. On the other hand, the boost and buck-boost cells are nonlinear and have non-minimum phase characteristics. These nonlinear cells will be described.

Beginning with a vector field f(x) and a scalar function h(x), the Lie derivative of h with respect to f is denoted by L_(f)h. The derivative is a scalar function and can be understood as the directional derivative of h in the direction of the vector field f.

Definition: For a smooth scalar function h:

and a smooth vector field f:

the Lie derivative of h with respect to f is

L_(f)h=∇hf.  (5)

or

L_(f)h=<∇h,f>  (6)

where ∇ represents the gradient and bold type represents a vector field, ∇hf is matrix multiplication, and <∇h, f> is standard dot product on

Lie derivatives of any order can be defined as

L_(f) ⁰h=h  (7)

L _(f) ^(i) h=∇(L _(f) ^(i-1) h)f=L _(f) L _(f) ^(i-1) h.  (8)

Also if g is another smooth vector field g:

then

L _(g) L _(f) h=∇(L _(f) h)g.  (9)

Now, add an output y to the nonlinear system {dot over (x)}=f(x)+g(x)u, where f(x) and g(x) are C^(∞) vector fields on R^(n). Unlike input-state linearization where a transformation is first found to generate a new state vector and a new control input, here the output y is repeatedly differentiated until the input u appears, thereby showing a relationship between y and u.

For the nonlinear system

{dot over (x)}=f(x)+g(x)u

y=h(x)  (10)

and a point x₀, we differentiate y once to get

{dot over (y)}=∇h{dot over (x)}=∇hf(x)+∇hg(x)=L _(f) h(x)+L _(g) h(x)u.

This is differentiated repeatedly until the coefficient of u is non-zero. This procedure continues until for some integer r≦n

L _(g) L _(f) ^(i) h(x)=0 for all x near x₀ and 0≦i≦r−2

and

L _(g) L _(f) ^(r-1) h(x ₀)≠0

Then

$\begin{matrix} {u = {- \frac{\left( {{L_{f}^{r}{b(x)}} + v} \right)}{L_{g}L_{f}^{r - 1}{b(x)}}}} & (11) \end{matrix}$

and, for v=0, results in a multiple integrator system with transfer function

$\begin{matrix} {{H(s)} = \frac{1}{s^{r}}} & (12) \end{matrix}$

State feedback can be added for pole placement with

v=c ₀ h(x)+c ₁ L _(f) h(x)+c ₂ L ² _(f) h(x)+ . . . +c _(r-1) L ^(r-1) _(f) h(x),

where c₀, c₁, . . . , c_(r-1) are constants to be chosen, and the integer r is the relative degree of the system (2-10). It is the number of differentiations required before u appears.

The first r new coordinates are found as above by differentiating the output h(x)

1 = L f  b  ( x  ( t ) ) = 2 2 = L f 2  b  ( x  ( t ) ) = 3  … r - 1 = L f r - 1  b  ( x  ( t ) ) = r r = L f r  b  ( x  ( t ) ) + L g  L f r - 1  b  ( x  ( t ) )  u  ( t ) ( 13 )

Since x(t)=Φ⁻¹

, let

=L_(g)L^(r-1) _(f)h(Φ⁻¹

=L^(r) _(f)h(Φ⁻¹

which is recognized from (11) that a(z) is the denominator term and b(z) is the numerator.

Now

=b

( t))+a

( t))u(t)

where a(z(t)) is nonzero for all z in a neighborhood of z⁰.

To find the remaining n-r coordinates, let

$\xi = \begin{bmatrix}  \\ \vdots \\

\end{bmatrix}$ and $\eta = {\begin{bmatrix}  \\ \vdots \\

\end{bmatrix}.}$

Here

are added to

to provide a legitimate coordinate system. With this notation we can write the new coordinates in normal form as

1 = 2 2 = 3 … r - 1 = r r = b  ( ξ , η ) + a  ( ξ , η )  u η . = q  ( ξ , η ) + p  ( ξ , η )  u y = 1 ( 14 )

The equation for {dot over (η)} represents the n-r equations for which no special form exists. The general equation, however, if the following condition holds

L _(g)Φ_(i)(x)=0

is reduced to

{dot over (η)}=q(ξ,η)

and the input u does not appear.

In general, the new nonlinear system is described by

{dot over (ξ)}=Aξ+Bv

{dot over (η)}=q(ξ,η)+p(ξ,η)u

y=Cξ  (15a,b,c)

with the matrices A, B, and C in normal form, and

v=b(ξ,η)+a(ξ,η)u

If r=n, input-output linearization leads to input-state linearization. If r<n, then there are n-r equations describing the internal dynamics of the system. The zero dynamics, obtained by setting ξ=0 in equation (15b) and solving for η, are very important in determining the possible stabilization of the system (10). If these zero dynamics are non-minimum phase then the input-output linearization in (11) cannot be used. If, however, the zero dynamics are minimum phase it means that pole placement can be done on the linear part of (15a) using (11) and the system will be stable.

In the sequel, the bold letter used to indicate vector fields will only be used when the context is ambiguous as to what is meant. Otherwise, non-bold letters will be used. For a boost converter the driving voltage u(t), the current x₁ through the inductor, and the voltage x₂ across the capacitor are restricted to be positive, nonnegative, and positive, respectively. Only the continuous conduction mode (CCM) is considered. The duty ratio d is taken to be the control input and is constrained by 0≦d≦1. The Ćuk-Middlebrook averaged nonlinear state equations are used to find a feedback transformation that maps these state equations to a controllable linear system. This transformation is one-to-one with the restrictions on u(t), x₁ and x₂ just mentioned and with additional restrictions involving {dot over (u)}. These additional restrictions are not needed if u(t) is a constant, as in DC-DC conversion. It is interesting to note that restrictions on {dot over (u)} are unnecessary for the boost converter even if u(t) changes with time. The nonlinear system is said to be feedback linearizable or feedback linearized. Through the feedback transformation, the same second order linear system for every operating point can be seen.

The new switching model of the present invention will now be described in more detail. The physical component parasitics R_(s), the DC series resistance of the filter inductor L, and R_(c), the equivalent series resistance of the filter capacitor C, now need to be included since R_(c) especially plays a central role in the analysis to follow.

The system in accordance with the present invention is of the form

{dot over (x)}=f(x)+g(x)d

y=h(x)  (16)

With this in mind, the state equations are derived to include parasitics R_(s) and R_(c).

There are four basic cells for fixed frequency PWM converters. They are the buck, boost, buck-boost, and boost-buck (Ćuk) topologies. Many derivations extend the basic cells in applications where isolation can be added between input and output via transformers, however, the operation can be understood through the basic cell. Each cell contains two switches. Proper operation of the switches results in a two-switch-state topology. In this regime, there is a controlling switch and a passive switch that are either on or off resulting in two “on” states. In contrast, a three state converter would consist of three switches, two controlling switches and one passive switch, resulting in three “on” states.

The control philosophy used to control the switching sequence is pulse-width-modulation (PWM). A control voltage ν_(c) is compared with a ramp signal (“sawtooth”), ν_(m), and the output pulse width is the result of ν_(c)>ν_(m). This is shown in FIG. 4A. A new cycle is initiated on the negative slope of the ramp. The pulse ends when ν_(c)<ν_(m) which causes modulation to occur on the trailing edge. This gives it the name “trailing-edge modulation.”

The difference between leading-edge modulation (LEM) and the conventionally used trailing-edge modulation (TEM) is that in TEM (FIG. 4A) the pulse-width is determined by the instantaneous control voltage ν_(c) prior to switch turn-off, whereas in LEM (FIG. 4B) the pulse-width is determined by ν_(c) prior to switch turn-on. The reason that sampling is “just prior” to switch commutation is that the intersection of ν_(c) and ν_(m) determines the new state of the switch. Notice that in FIG. 4B the sawtooth ramp ν_(m) has a negative slope.

Now referring to FIG. 5, a circuit diagram 500 of a boost converter and a modulator/controller 502 in accordance with the present invention is shown. The specifics of the boost converter are well known. In this case, S2 is implemented with a diode and S1 is implemented with an N-channel MOSFET. FIGS. 6A and 6B are linear circuit diagrams 600 and 650 of the boost converter in FIG. 5 during time DTs and D′Ts, respectively. The converter 500 operates as follows: u₀ provides power to the circuit during S1 conduction time (FIG. 6A) storing energy in inductor L. During this time S2 is biased off. When S1 turns off, the energy in L causes the voltage across L to reverse polarity. Since one end is connected to the input source, u₀, it remains clamped while the other end forward biases diode S2 and clamps to the output. Current continues to flow through L during this time (FIG. 6B). When S1 turns back on, the cycle repeats. FIG. 7 illustrates the typical waveforms for the boost converter for the two switched intervals DTs and D′Ts.

The DC transfer function needs to be determined in order to know how the output, y, across the load R is related to the input u₀ at zero frequency. In steady state, the volt-second integral across L is equal to zero. Thus,

∫₀ ^(T) ^(s) v _(L) dt=0  (17)

where Ts is the switching period. Therefore, the volt-seconds during the on-time must equal the volt-seconds during the off-time. Using this volt-second balance constraint one can derive an equation for volt-seconds during the on-time of S1 (DTs) and another equation for volt-seconds during the off-time of S1 (D′Ts).

The parasitics are eliminated by setting R_(s)=0 and R_(c)=0.

During time DTs:

DT_(s)v_(L)=DT_(s)u₀  (18)

During time D′Ts:

D′T _(s) v _(L) =D′T _(s) x ₂ −D′T _(s) u ₀  (19)

Since by equation (17)

DT_(s)v_(L)=D′T_(s)v_(L)

the RHS of equation (18) is set equal to the RHS of equation (19) resulting in

$\begin{matrix} {\frac{x_{2}}{u_{0}} = \frac{1}{D^{\prime}}} & (20) \end{matrix}$

Equation (20) is the ideal duty ratio equation for the boost cell. If R_(s) and R_(c) are both non-zero then

$\begin{matrix} {\frac{y}{u_{0} - {x_{1}R_{s}}} = \frac{1}{D^{\prime}}} & (21) \end{matrix}$

The output y is

$\begin{matrix} {y = {{D^{\prime}\frac{{RR}_{c}}{R + R_{c}}x_{1}} + {\frac{R}{R + R_{c}}x_{2}}}} & (22) \end{matrix}$

Now the state space averaged equations are derived during dTs:

${\overset{.}{x}}_{1} = {{\frac{1}{L}u} - {\frac{R_{s}}{L}x_{1}}}$ ${\overset{.}{x}}_{2} = {{- \frac{1}{C\left( {R + R_{c}} \right)}}x_{2}}$

And during (1−d)Ts:

${\overset{.}{x}}_{1} = {\frac{1}{L}\left\lbrack {{{- \left( {R_{s} + \frac{{RR}_{c}}{R + R_{c}}} \right)}x_{1}} - {\frac{R}{R + R_{c}}x_{2}} + u_{0}} \right\rbrack}$ ${\overset{.}{x}}_{2} = {{\frac{R}{C\left( {R + R_{c}} \right)}x_{1}} - {\frac{1}{C\left( {R + R_{c}} \right)}x_{2}}}$

Combining, the averaged equations are:

$\begin{matrix} {{{\overset{.}{x}}_{1} = {{\frac{1}{L}u_{0}} - {\frac{R_{s}}{L}x_{1}} - {\frac{{RR}_{c}}{L\left( {R + R_{c}} \right)}{x_{1}\left( {1 - d} \right)}} - {\frac{R}{L\left( {R + R_{c}} \right)}{x_{2}\left( {1 - d} \right)}}}}\mspace{79mu} {{\overset{.}{x}}_{2} = {{\frac{R}{C\left( {R + R_{c}} \right)}{x_{1}\left( {1 - d} \right)}} - {\frac{1}{C\left( {R + R_{c}} \right)}x_{2}}}}\mspace{79mu} {y = {{\frac{R}{\left( {R + R_{c}} \right)}x_{2}} + {\frac{{RR}_{c}}{\left( {R + R_{c}} \right)}{x_{1}\left( {1 - d} \right)}}}}} & \left( {{23\; a},b,c} \right) \end{matrix}$

where R_(s) is the dc resistance of L and R_(c) is the equivalent series resistance of C.

In standard form:

$\begin{matrix} {{{\overset{.}{x}}_{1} = {\frac{u_{0}}{L} - {\frac{R}{L\left( {R + R_{c}} \right)}x_{2}} - {\left( {\frac{R_{s}}{L} + \frac{{RR}_{c}}{L\left( {R + R_{c}} \right)}} \right)x_{1}} + {\left( {{\frac{{RR}_{c}}{L\left( {R + R_{c}} \right)}x_{1}} + {\frac{R}{L\left( {R + R_{c}} \right)}x_{2}}} \right)d}}}\mspace{79mu} {{\overset{.}{x}}_{2} = {{{- \frac{1}{C\left( {R + R_{c}} \right)}}x_{2}} + {\frac{R}{C\left( {R + R_{c}} \right)}x_{1}} - {\frac{R}{C\left( {R + R_{c}} \right)}x_{1}d}}}\mspace{79mu} {y = {{\frac{{RR}_{c}}{\left( {R + R_{c}} \right)}x_{1}} + {\frac{R}{\left( {R + R_{c}} \right)}x_{2}}}}} & \left( {{24\; a},b,c} \right) \end{matrix}$

Here it is assumed that leading-edge modulation is used so that sampling of the output y only takes place during the interval (1−d)Ts. Therefore, the weighting factor (1−d) in equation (23c) for y has been removed because when the sample is taken the data represents both terms as shown in equation (24c). In the present analysis the effects of sampling (complex positive zero pair at one-half the sampling frequency) have been ignored.

The input-output linearization for the boost converter will now be discussed. The output, y, only needs to be differentiated once before the control d appears.

$\begin{matrix} {\mspace{79mu} {y = {\frac{R}{R + R_{c}}\left( {x_{2} + {R_{c}x_{1}}} \right)}}} & (25) \\ {\mspace{79mu} {\overset{.}{y} = {\frac{R}{R + {Rc}}\left( {{\overset{.}{x}}_{2} + {R_{c}{\overset{.}{x}}_{1}}} \right)}}} & \left( {26\; a} \right) \\ {\overset{.}{y} = {\left( \frac{R}{R + {Rc}} \right)\left( {{\frac{1}{C\left( {R + R_{c}} \right)}\left( {{- x_{2}} + {Rx}_{1} - {{Rx}_{1}d}} \right)} + {\frac{R_{c}}{L}\left( {u_{0} - {\frac{R}{R + {Rc}}x_{2}} - {\left( {R_{s} + \frac{{RR}_{c}}{R + R_{c}}} \right)x_{1}} + {\left( {{\frac{{RR}_{c}}{R + {Rc}}x_{1}} + {\frac{R}{R + R_{c}}x_{2}}} \right)d}} \right)}} \right)}} & \left( {26\; b} \right) \end{matrix}$

Substituting for x₂ from (25), setting {dot over (y)} equal to k(y₀−y), k>0, and solving for d we get,

$\begin{matrix} {{d = \frac{\begin{matrix} {{\left( {{{RR}_{c}C} + L} \right)y} - {\left( {L - {R_{s}R_{c}C}} \right){Rx}_{1}} -} \\ {{{RR}_{c}{Cu}_{0}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}} \end{matrix}}{R\left( {{R_{c}{Cy}} - {\frac{LR}{R + R_{c}}x_{1}}} \right)}}{where}{{R\left( {{R_{c}{Cy}} - {\frac{LR}{R + R_{c}}x_{1}}} \right)} > 0.}} & (27) \end{matrix}$

Here y₀ is the desired output corresponding to x₁₀ and x₂₀ through equation (25). The notation has changed and k=c₀ in equation (11), and the control input is now d instead of u. Here (x₁₀, x₂₀) is an equilibrium point of the boost converter. The proportional term k(y₀−y) can be replaced by any suitable controller, such as a proportional (P), integral (I) or derivative (D) (or any combination of these three) by replacing k(y₀−y) in the equation defining the duty cycle d with

$\left( {k_{p} + \frac{k_{i}}{s} + {k_{d}s}} \right)\left( {y_{0} - y} \right)$

where k_(p), k_(i), and k_(d) are the gains of the proportional, integral, and derivative terms of the controller. If k_(i) and k_(d) are both zero, then the controller reduces to a proportional controller. If only k_(d) is zero, then the controller reduces to a proportional-integral (PI) controller.

The control is part of the transformation as shown in equation (27) where it is seen that k(y−y₀) is in the numerator, and k is the proportional gain. The proportional term k(y₀-y) can be replaced by any suitable controller, such as a proportional (P), integral (I) or derivative (D) (or any combination of these three) by replacing k(y₀−y) in the equation defining the duty cycle d with

$\left( {k_{p} + \frac{k_{i}}{s} + {k_{d}s}} \right)\left( {y_{0} - y} \right)$

where k_(p), k_(i), and k_(d) are the gains of the proportional, integral, and derivative terms of the controller. If k_(i) and k_(d) are both zero, then the controller reduces to a proportional controller. If only k_(d) is zero, then the controller reduces to a proportional-integral (PI) controller. The control implementation is shown in FIG. 2.

Local linearization of the boost converter will now be discussed to obtain a transfer function. A Taylor Series linearization is used on the nonlinear system (24abc) to linearize about an operating point, x₁₀, x₂₀, D and obtain the transfer function. We let

{circumflex over (x)} ₁ =x ₁ −x ₁₀ ,{circumflex over (x)} ₂ =x ₂ −x ₂₀ ,ŷ=y−y ₀ ,{circumflex over (d)}=d−D.

which gives

${\overset{.}{\hat{x}}}_{1} = {\frac{1}{L}\left\lbrack {{{- \frac{\left( {1 - D} \right)R}{R + R_{c}}}{\hat{x}}_{2}} - {\frac{\left( {1 - D} \right){RR}_{c}}{R + R_{c}}{\hat{x}}_{1}} - {R_{s}{\hat{x}}_{1}} + {\left( {{\frac{{RR}_{c}}{R + R_{c}}x_{10}} + {\frac{R}{R + R_{c}}x_{20}}} \right)\hat{d}}} \right\rbrack}$ $\mspace{79mu} {{\overset{.}{\hat{x}}}_{2} = {\frac{1}{C\left( {R + R_{c}} \right)}\left\lbrack {{- {\hat{x}}_{2}} + {\left( {1 - D} \right)R{\hat{x}}_{1}} - {{Rx}_{10}\hat{d}}} \right\rbrack}}$

In matrix form

$\begin{bmatrix} {\overset{.}{\hat{x}}}_{1} \\ {\overset{.}{\hat{x}}}_{2} \end{bmatrix} = {{\begin{bmatrix} {- \left( {\frac{{RR}_{c}\left( {1 - D} \right)}{L\left( {R + R_{c}} \right)} + \frac{R_{s}}{L}} \right)} & {- \frac{\left( {1 - D} \right)R}{L\left( {R + R_{c}} \right)}} \\ \frac{R\left( {1 - D} \right)}{C\left( {R + R_{c}} \right)} & {- \frac{1}{C\left( {R + R_{c}} \right)}} \end{bmatrix}\begin{bmatrix} {\hat{x}}_{1} \\ {\hat{x}}_{2} \end{bmatrix}} + {\begin{bmatrix} \frac{{{RR}_{c}x_{10}} + {Rx}_{20}}{L\left( {R + R_{c}} \right)} \\ {- \frac{{Rx}_{10}}{C\left( {R + R_{c}} \right)}} \end{bmatrix}{\hat{d}.}}}$

Making the following substitutions, which can be derived by letting {dot over (x)}₁=0, {dot over (x)}₂=0, x₁=x₁₀, x₂=X₂₀, R_(c)=0, and R_(s)=0 in (24ab):

$x_{10} = \frac{u_{0}}{\left( {1 - D} \right)^{2}R}$ and $x_{20} = \frac{u_{0}}{\left( {1 - D} \right)}$

results in

$\begin{matrix} {\begin{bmatrix} {\overset{\overset{.}{\hat{}}}{x}}_{1} \\ {\overset{\overset{.}{\hat{}}}{x}}_{2} \end{bmatrix} = {{\begin{bmatrix} {- \left( \frac{{RR}_{c}\left( {1 - D} \right)}{L\left( {R + R_{c}} \right)} \right)} & {- \frac{\left( {1 - D} \right)R}{L\left( {R + R_{c}} \right)}} \\ \frac{R\left( {1 - D} \right)}{C\left( {R + R_{c}} \right)} & {- \frac{1}{C\left( {R + R_{c}} \right)}} \end{bmatrix}\begin{bmatrix} {\hat{x}}_{1} \\ {\hat{x}}_{2} \end{bmatrix}} + {\quad{\quad{\quad{\begin{bmatrix} {\frac{u_{0}}{{L\left( {R + R_{c}} \right)}\left( {1 - D} \right)}\left( {\frac{R_{c}}{\left( {1 - D} \right)} + R} \right)} \\ {- \frac{u_{0}}{{C\left( {R + R_{c}} \right)}\left( {1 - D} \right)^{2}}} \end{bmatrix}\hat{d}}}}}}} & (28) \\ {\mspace{76mu} {\hat{y} = {\begin{bmatrix} \frac{RRc}{R + R_{c}} & \frac{R}{R + R_{c}} \end{bmatrix}\hat{x}}}} & (29) \end{matrix}$

Now a linear system is provided

$\begin{matrix} {{\overset{\overset{.}{\hat{}}}{x} = {{A\hat{x}} + {B\hat{d}}}}{\hat{y} = {C\hat{x}}}} & (30) \end{matrix}$

where A is an n×n matrix, B is an n-column vector, and C is an n-row vector. To find the control-to-output transfer function, solve the matrix equation

G(s)=C[sI−A] ⁻¹ B.

and obtain

${G(s)} = {{{\frac{1}{\Delta (s)}\begin{bmatrix} \frac{{RR}_{c}}{R + R_{c}} & \frac{R}{R + R_{c}} \end{bmatrix}}\begin{bmatrix} {s + \frac{1}{C\left( {R + R_{c}} \right)}} & {- \frac{\left( {1 - D} \right)R}{L\left( {R + R_{c}} \right)}} \\ \frac{R\left( {1 - D} \right)}{C\left( {R + R_{c}} \right)} & {s + \left( \frac{{RR}_{c}\left( {1 - D} \right)}{L\left( {R + R_{c}} \right)} \right)} \end{bmatrix}}{\quad{\quad{\quad\begin{bmatrix} {\frac{u_{0}}{{L\left( {R + R_{c}} \right)}\left( {1 - D} \right)}\left( {\frac{R_{c}}{\left( {1 - D} \right)} + R} \right)} \\ {- \frac{u_{0}}{{C\left( {R + R_{c}} \right)}\left( {1 - D} \right)^{2}}} \end{bmatrix}\;}}}}$

If we let powers greater than one of R_(c) equal zero, further evaluation results in

$\begin{matrix} {{G(s)} = {\frac{1}{\Delta (s)}\left\lbrack {\frac{u_{0}}{{{LCR}\left( {1 - D} \right)}^{2}}\begin{bmatrix} {{\left( {{{RR}_{c}{C\left( {1 - D} \right)}} - L} \right)s} +} \\ {{2\; {R_{c}\left( {1 - D} \right)}} + {R\left( {1 - D} \right)}^{2}} \end{bmatrix}} \right\rbrack}} & (31) \end{matrix}$

where Δ(s) is the determinant of [sI−A] which is

$\begin{matrix} {{\Delta (s)} = {s^{2} + {\frac{L + {{RR}_{c}{C\left( {1 - D} \right)}}}{{LC}\left( {R + R_{c}} \right)}s} + \frac{{R\left( {1 - D} \right)}\left( {R_{c} + {R\left( {1 - D} \right)}} \right)}{{{LC}\left( {R + R_{c}} \right)}^{2}}}} & (32) \end{matrix}$

Taking the term in (31) associated with s, the zero of the linear system needs to be in the left-half plane, so this term needs to remain positive. Solving for R_(c)C we have

$\begin{matrix} {{R_{c}C} > \frac{L}{R\left( {1 - D} \right)}} & (33) \end{matrix}$

Note that the inequality (33) can also be derived from the denominator of (27) by setting (R+R_(c))=R, i.e., R>>R_(c) and with the following substitution for x₁,

$x_{1} = {\frac{y}{R\left( {1 - D} \right)}.}$

At this point, the transfer function has been shown to be the linear approximation of the nonlinear system having a left-half plane zero under constraint (33). The zeros of the transfer function of the linear approximation of the nonlinear system at x=0 coincide with the eigenvalues of the linear approximation of the zero dynamics of the nonlinear system at η=0. Therefore, the original nonlinear system (24) has asymptotically stable zero dynamics. Furthermore, the following proposition is associated with the system (14).

Proposition. Suppose the equilibrium η=0 of the zero dynamics of the system is locally asymptotically stable and all the roots of the polynomial p(s) have negative real part. Then the feedback law

$\begin{matrix} {u = {\frac{1}{a\left( {\xi,\eta} \right)}\left( {{- {b\left( {\xi,\eta} \right)}} - {c_{0}z_{1}} - {c_{1}z_{2}} - \ldots - {c_{r - 1}z_{r}}} \right)}} & (34) \end{matrix}$

locally asymptotically stabilizes the equilibrium (ξ, η)=(0, 0).

The polynomial

p(s)=s ^(r) +c _(r-1) s ^(r-1)+ . . . +c₁ s+c ₀  (35)

is the characteristic polynomial of the matrix A associated with the closed loop system (see equations (14) and (34) and recall that z=ξ)

{dot over (ξ)}=Aξ+Bv

{dot over (η)}=q(ξ,η)  (36)

where {dot over (ξ)}=Aξ+Bv are the linear part of the system and {dot over (η)}=q(0,η) are the zero dynamics. The matrix A is given by

$A = {\begin{bmatrix} 0 & 1 & 0 & \ldots & 0 \\ 0 & 0 & 1 & \ldots & 0 \\ \vdots & \vdots & \vdots & \vdots & \vdots \\ 0 & 0 & 0 & \ldots & 1 \\ {- c_{0}} & {- c_{1}} & {- c_{2}} & \ldots & {- c_{r - 1}} \end{bmatrix}.}$

and the vector B is given by

B=[0, . . . , 0,1]^(T).

The feedback law in equation (34) can be expressed in the original coordinates as

$\begin{matrix} {u = {\frac{1}{L_{g}L_{f}^{r - 1}{h(x)}}\left( {{{- L_{f}^{r}}{h(x)}} - {c_{0}{h(x)}} - {c_{1}L_{f}{h(x)}} - \ldots - {c_{r - 1}L_{f}^{r - 1}{h(x)}}} \right)}} & (37) \end{matrix}$

As shown in equation (26), the input d appears after only one differentiation so the relative degree is one. This means that the present invention is a single order linear system containing only one root, thus the present invention can be expressed in the new coordinates as

{dot over (ξ)}=−kξ+v

{dot over (η)}=q(ξ,η)

y=ξ

The polynomial p(s) is simply p(s)=s+k, with k>0, so that the denominator is now a real pole in the open left half plane.

In accordance with the Proposition, the root of the polynomial p(s) has a negative real part, and as shown above, the present invention has asymptotically stable zero dynamics. Therefore, it can be concluded that, given a control law of the form (37), the original nonlinear system (24) is locally asymptotically stable.

The following theorem has been proven.

Theorem 1: For a boost converter with asymptotically stable zero dynamics (using leading-edge modulation),

with constraint

$\begin{matrix} {{R_{c}C} > \frac{L}{R\left( {1 - D} \right)}} & (38) \end{matrix}$

and control law

$\begin{matrix} {{d = {\frac{1}{L_{g}L_{f}^{r - 1}y}\left( {{{- L_{f}^{r}}y} - {k\left( {y - y_{0}} \right)}} \right)}};} & (39) \end{matrix}$

the nonlinear system

{dot over (ξ)}=−kξ+v

{dot over (η)}=q(ξ,η),

y=ξ  (40)

with v=0, is asymptotically stable at each equilibrium point (the characteristic polynomial p(s) has a root with negative real part) which means that the original nonlinear system

{dot over (x)}=f(x)+g(x)d

y=h(x)  (41)

is locally asymptotically stable at each equilibrium point (x₁₀, x₂₀) in the set

S={(x ₁ ,x ₂),xε

:x₁≧0,x ₂>0}

with 0≦d<1.

Recall that (x₁₀, x₂₀) corresponds to y₀ through equation (25). Theorem 1 indicates local asymptotic stability. In practice, the reference input y₀ is ramped up in a so-called “soft-start” mode of operation. This theorem also guarantees local asymptotic stability at each operating point passed through by the system on its way up to the desired operating point.

Now referring to FIG. 8, a circuit diagram 800 of a buck-boost converter and a modulator/controller 802 in accordance with the present invention are shown. The details of buck-boost converters are well known. In this case, S2 is implemented with a diode and S1 is implemented with an N-channel MOSFET. FIGS. 9A and 9B are linear circuit diagrams 900 and 950 of a buck-boost converter during time DTs and D′Ts. The operation of the converter is as follows: u₀ provides power to the circuit during S1 conduction time (FIG. 9A) storing energy in inductor L. During this time S2 is biased off. When S1 turns off, the energy in L causes the voltage across L to reverse polarity. Since one end is connected to circuit return, it remains clamped while the other end forward biases diode S2 and clamps to the output. Current continues to flow through L during this time (FIG. 9B). When S1 turns back on, the cycle repeats. It should be noted that the output voltage is inverted, i.e., negative. FIG. 10 is a graph of typical waveforms for the buck-boost converter for the two switched intervals DTs and D′Ts. A typical embodiment of the buck-boost converter where the output voltage is positive is the “flyback” converter where a transformer with phase reversal is used instead of an inductor.

It is again desirable to find the DC transfer function to know how the output, y, across the load R is related to the input u₀ at zero frequency. In steady state, the volt-second integral across L is again equal to zero. Thus,

∫₀ ^(T) ^(s) v _(L) dt=0  (42)

where Ts is the switching period.

Therefore, the volt-seconds during the on-time must equal the volt-seconds during the off-time. Using this volt-second balance constraint one can derive an equation for volt-seconds during the on-time of S1 (DTs) and another equation for volt-seconds during the off-time of S1 (D′Ts).

The parasitics are eliminated by setting R_(s)=0 and R_(c)=0.

During time DTs:

DT_(s)v_(L)=DT_(s)u₀  (43)

During time D′Ts:

D′T_(s)v_(L)=D′T_(s)v_(L)  (44)

Since by equation (42)

DT_(s)v_(L)=D′T_(s)v_(L)

The RHS of equation (43) is set equal to the RHS of equation (44) to provide

$\begin{matrix} {{\frac{x_{2}}{u_{0}} = \frac{D}{D^{\prime}}}{y = {- x_{2}}}} & (45) \end{matrix}$

Equation (45) is the ideal duty ratio equation for the buck-boost cell. If R_(s) and R_(c) are both non-zero then

$\begin{matrix} {{\frac{y}{u_{0}} - \frac{x_{1}R_{s}}{D^{\prime}u_{0}}} = {- \frac{D}{D^{\prime}}}} & (46) \end{matrix}$

The output y is

$\begin{matrix} {y = {{{- D^{\prime}}\frac{{RR}_{c}}{R + R_{c}}x_{1}} - {\frac{R}{R + R_{c}}x_{2}}}} & (47) \end{matrix}$

Once again it is seen in equation (46) that parasitic R_(s) should be minimized. For example if R_(s)=0 and R_(c)=0, then equation (46) reduces to the ideal equation (45).

Now the state space averaged equations are derived during dTs:

${\overset{.}{x}}_{1} = {{\frac{1}{L}u} - {\frac{R_{s}}{L}x_{1}}}$ ${\overset{.}{x}}_{2} = {{- \frac{1}{C\left( {R + R_{c}} \right)}}x_{2}}$

And during (1−d)Ts:

${\overset{.}{x}}_{1} = {{{- \frac{R_{s}}{L}}x_{1}} - {\frac{{RR}_{c}}{L\left( {R + R_{c}} \right)}x_{1}} - {\frac{R}{L\left( {R + R_{c}} \right)}x_{2}}}$ ${\overset{.}{x}}_{2} = {{\frac{R}{C\left( {R + R_{c}} \right)}x_{1}} - {\frac{1}{C\left( {R + R_{c}} \right)}x_{2}}}$

Combining, the averaged equations are:

$\begin{matrix} {{\overset{.}{x}}_{1} = {{\frac{1}{L}u_{0}d} - {\frac{R_{s}}{L}x_{1}} - {\frac{{RR}_{c}}{L\left( {R + R_{c}} \right)}{x_{1}\left( {1 - d} \right)}} - {\frac{{Rx}_{2}}{L\left( {R + R_{c}} \right)}\left( {1 - d} \right)}}} & \left( {48a} \right) \\ {\mspace{79mu} {{{\overset{.}{x}}_{2} = {{\frac{R}{C\left( {R + R_{c}} \right)}{x_{1}\left( {1 - d} \right)}} - {\frac{1}{C\left( {R + R_{c}} \right)}x_{2}}}}\mspace{79mu} {y = {{{- \frac{{RR}_{c}}{\left( {R + R_{c}} \right)}}{x_{1}\left( {1 - d} \right)}} - {\frac{R}{\left( {R + R_{c}} \right)}x_{2}}}}}} & \left( {{49b},c} \right) \end{matrix}$

In standard form:

$\begin{matrix} {{{\overset{.}{x}}_{1} = {{{- \frac{R}{L\left( {R + R_{c}} \right)}}x_{2}} - {\left( {\frac{R_{s}}{L} + \frac{{RR}_{c}}{L\left( {R + R_{c}} \right)}} \right)x_{1}} + {\begin{pmatrix} {{\frac{{RR}_{c}}{L\left( {R + R_{c}} \right)}x_{1}} +} \\ {{\frac{R}{L\left( {R + R_{c}} \right)}x_{2}} + \frac{u_{0}}{L}} \end{pmatrix}d}}}\mspace{79mu} {{\overset{.}{x}}_{2} = {{{- \frac{R}{C\left( {R + R_{c}} \right)}}x_{2}} + {\frac{R}{C\left( {R + R_{c}} \right)}x_{1}} - {\frac{R}{C\left( {R + R_{c}} \right)}x_{1}d}}}\mspace{79mu} {y = {{{- \frac{{RR}_{c}}{\left( {R + R_{c}} \right)}}x_{1}} - {\frac{R}{\left( {R + R_{c}} \right)}x_{2}}}}} & \left( {{50a},b,c} \right) \end{matrix}$

Here it is assumed that leading-edge modulation is used so that sampling of the output y only takes place during the interval (1−d)T_(s). Therefore, the weighting factor (1−d) in equation (49c) for y has been removed in equation (50c) because when the sample is taken the data represents both terms. In the present analysis the effects of sampling (complex positive zero pair at one-half the sampling frequency) have been ignored.

The output, y, only needs to be differentiated once before the control d appears. Thus,

$\begin{matrix} {\mspace{79mu} {y = {\frac{R}{R + {Rc}}\left( {{{- R_{c}}x_{1}} - x_{2}} \right)}}} & (51) \\ {\mspace{79mu} {\overset{.}{y} = {\frac{R}{R + {Rc}}\left( {{{- R_{c}}{\overset{.}{x}}_{1}} - {\overset{.}{x}}_{2}} \right)}}} & \left( {52a} \right) \\ {\overset{.}{y} = {\frac{R}{R + {Rc}}\begin{pmatrix} {{- {R_{c}\begin{pmatrix} {{{- \frac{R}{L\left( {R + R_{c}} \right)}}x_{2}} - {\left( {\frac{R_{s}}{L} + \frac{{RR}_{c}}{L\left( {R + R_{c}} \right)}} \right)x_{1}} +} \\ {\left( {{\frac{{RR}_{c}}{L\left( {R + R_{c}} \right)}x_{1}} + {\frac{R}{L\left( {R + R_{c}} \right)}x_{2}} + \frac{u_{0}}{L}} \right)d} \end{pmatrix}}} -} \\ \left( {{{- \frac{1}{C\left( {R + R_{c}} \right)}}x_{2}} + {\frac{R}{C\left( {R + R_{c}} \right)}x_{1}} - {\frac{R}{C\left( {R + R_{c}} \right)}x_{1}d}} \right) \end{pmatrix}}} & \left( {52b} \right) \end{matrix}$

Substituting for x₂ from (51), setting {dot over (y)} equal to k(y₀−y),k>0, and solving for d provides,

$\begin{matrix} {{d = \frac{\begin{matrix} {{\left( {{{RR}_{c}C} + L} \right)y} + {\left( {L - {R_{c}R_{s}C}} \right){Rx}_{1}} + \left( {R + R_{c}} \right)} \\ {{LCk}\left( {y_{0} - y} \right)} \end{matrix}}{R\left( {{R_{c}{Cy}} + {\frac{LR}{R + R_{c}}x_{1}} - {R_{c}{Cu}_{0}}} \right)}}{{{where}\mspace{14mu} {R\left( {{R_{c}{Cy}} + {\frac{LR}{R + R_{c}}x_{1}} - {R_{c}{Cu}_{0}}} \right)}} > 0.}} & (53) \end{matrix}$

Here y₀ is the desired output corresponding to x₁₀ and x₂₀ through equation (51). The notation has changed and k=c₀ in equation (11), and the control input is now d instead of u. Here (x₁₀, x₂₀) is an equilibrium point of our buck-boost converter. Implementation of the control is the same as shown in FIG. 2. The same definitions are used, so the local linearization will be discussed.

To obtain the transfer function, a Taylor Series linearization is again used on the nonlinear system (50) to linearize about an operating point, x₁₀, x₂₀, D to provide

{circumflex over (x)} ₁ =x ₁ −x ₁₀ ,{circumflex over (x)} ₂ =x ₂ −x ₂₀ ,ŷ=y−y ₀ ,{circumflex over (d)}=d−D.

This gives

${\overset{.}{\hat{x}}}_{1} = {{{- \left( {\frac{R_{s}}{L} + {\frac{{RR}_{c}}{L\left( {R + R_{c}} \right)}\left( {1 - D} \right)}} \right)}{\hat{x}}_{1}} - {\frac{R}{L\left( {R + R_{c}} \right)}\left( {1 - D} \right){\hat{x}}_{2}} + {\begin{pmatrix} {{\frac{{RR}_{c}}{L\left( {R + R_{c}} \right)}x_{10}} +} \\ {{\frac{R}{L\left( {R + R_{c}} \right)}x_{20}} + \frac{u_{0}}{L}} \end{pmatrix}\hat{d}}}$ $\mspace{79mu} {{\overset{.}{\hat{x}}}_{2} = {{\frac{R}{C\left( {R + R_{c}} \right)}\left( {1 - D} \right){\hat{x}}_{1}} - {\frac{1}{C\left( {R + R_{c}} \right)}{\hat{x}}_{2}} - {\frac{R}{C\left( {R + R_{c}} \right)}x_{10}\hat{d}}}}$

In matrix form

$\begin{bmatrix} {\overset{.}{\hat{x}}}_{1} \\ {\overset{.}{\hat{x}}}_{2} \end{bmatrix} = {{\begin{bmatrix} {- \left( {\frac{R_{s}}{L} + \frac{{RR}_{c}\left( {1 - D} \right)}{L\left( {R + R_{c}} \right)}} \right)} & {- \frac{R\left( {1 - D} \right)}{L\left( {R + R_{c}} \right)}} \\ \frac{R\left( {1 - D} \right)}{C\left( {R + R_{c}} \right)} & {- \frac{1}{C\left( {R + R_{c}} \right)}} \end{bmatrix}\left\lbrack \begin{matrix} {\hat{x}}_{1} \\ {\hat{x}}_{2} \end{matrix} \right\rbrack} + {\quad{\begin{bmatrix} {\frac{{RR}_{c}x_{10}}{L\left( {R + R_{c}} \right)} + \frac{{Rx}_{20}}{L\left( {R + R_{c}} \right)} + \frac{u_{0}}{L}} \\ {- \frac{{Rx}_{10}}{C\left( {R + R_{c}} \right)}} \end{bmatrix}{\hat{d}.}}}}$

Making the following substitutions, which can be derived by letting {dot over (x)}₁=0, {dot over (x)}₂=0, x₁=x₁₀, x₂=x₂₀, R_(c)=0, and R_(s)=0 in (50ab):

$\begin{matrix} {\mspace{79mu} {{x_{10} = \frac{{Du}_{0}}{\left( {1 - D} \right)^{2}R}}\mspace{79mu} {and}\mspace{79mu} {x_{20} = \frac{{Du}_{0}}{\left( {1 - D} \right)}}\mspace{79mu} {{{to}\mspace{14mu} {{get}\begin{bmatrix} {\overset{.}{\hat{x}}}_{1} \\ {\overset{.}{\hat{x}}}_{2} \end{bmatrix}}} = {{\begin{bmatrix} {- \left( {\frac{R_{s}}{L} + \frac{{RR}_{c}\left( {1 - D} \right)}{L\left( {R + R_{c}} \right)}} \right)} & {- \frac{R\left( {1 - D} \right)}{L\left( {R + R_{c}} \right)}} \\ \frac{R\left( {1 - D} \right)}{C\left( {R + R_{c}} \right)} & {- \frac{1}{C\left( {R + R_{c}} \right)}} \end{bmatrix}\left\lbrack \begin{matrix} {\hat{x}}_{1} \\ {\hat{x}}_{2} \end{matrix} \right\rbrack} + {\quad{\begin{bmatrix} {{\frac{{Du}_{0}}{\left( {1 - D} \right)L}\left( {\frac{R_{c}}{\left( {R + R_{c}} \right)\left( {1 - D} \right)} + \frac{R}{\left( {R + R_{c}} \right)}} \right)} + \frac{u_{0}}{L}} \\ \frac{u_{0}D}{{C\left( {R + R_{c}} \right)}\left( {1 - D} \right)^{2}} \end{bmatrix}\hat{d}}}}}}} & (54) \\ {\mspace{79mu} {\hat{y} = {\begin{bmatrix} {- \frac{RRc}{R + R_{c}}} & {- \frac{R}{R + R_{c}}} \end{bmatrix}\hat{x}}}} & (55) \end{matrix}$

Now the linear system

$\begin{matrix} {{\overset{.}{\hat{x}} = {{A\hat{x}} + {B\hat{d}}}}{\hat{y} = {C\hat{x}}}} & (56) \end{matrix}$

is provided where A is an n×n matrix, B is an n-column vector, and C is an n-row vector. To find the control-to-output transfer function the matrix equation is solved

G(s)=C[sI−A] ⁻¹ B.

After some algebra, letting powers greater than one of R_(c) equal zero provides

$\begin{matrix} {{G(s)} = {\frac{1}{\Delta \; (s)}\left\{ {- {\frac{u_{0}}{{{LCR}\left( {1 - D} \right)}^{2}}\begin{pmatrix} {{\left\lbrack {{{RR}_{c}{C\left( {1 - D} \right)}} - {LD}} \right\rbrack s} +} \\ {{\left( {1 + D^{2}} \right)R_{c}} + {R\left( {1 - D} \right)}^{2}} \end{pmatrix}}} \right\}}} & (57) \end{matrix}$

where Δ(s) is the determinant of [sI−A] which is

$\begin{matrix} {{\Delta \; (s)} = {s^{2} + {\left( \frac{L + {{RR}_{c}{C\left( {1 - D} \right)}}}{{LC}\left( {R + R_{c}} \right)} \right)s} + \frac{{R\left( {1 - D} \right)}\left\lbrack {R_{c} + {R\left( {1 - D} \right)}} \right\rbrack}{{{LC}\left( {R + R_{c}} \right)}^{2}}}} & (58) \end{matrix}$

Taking the term in (57) associated with s, the zero of the linear approximation of the system should be in the left-half plane, so this term needs to remain positive. Solving for R_(c)C results in

$\begin{matrix} {{R_{c}C} > {\frac{LD}{R\left( {1 - D} \right)}.}} & (59) \end{matrix}$

Note that the inequality (59) can also be derived from the denominator of (53) by setting (R+R_(c))=R, i.e., R>>R_(c) and with the following substitutions for x₁ and u₀,

$x_{1} = {- \frac{y}{R\left( {1 - D} \right)}}$ and $u_{0} = {{- y}{\frac{\left( {1 - D} \right)}{D}.}}$

At this point, it has been shown that the transfer function of the linear approximation of the nonlinear system has a left-half plane zero under constraint (59). As before, it is known that the zeros of the transfer function of the linear approximation of the nonlinear system at x=0 coincide with the eigenvalues of the linear approximation of the zero dynamics of the nonlinear system at η=0. Therefore, the original nonlinear system (50) has asymptotically stable zero dynamics.

The Proposition is again used, with p(s) as above in equation (35) and the closed loop system as in equation (36). As shown in equation (52), the input d appears after only one differentiation so the relative degree is again one. This means that the present invention is a single order linear system containing only one root, thus the present invention can be expressed in the new coordinates as

{dot over (ξ)}=−kξ+v

{dot over (η)}=q(ξ,η)

y=ξ

The polynomial p(s) is simply p(s)=s+k, with k>0, so that the denominator is now a real pole in the open left half plane.

In accordance with the Proposition, the root of the polynomial p(s) has a negative real part, and as shown above, the present invention has asymptotically stable zero dynamics. Therefore, given a control law of the form (37), it can be concluded that the original nonlinear system (50) is locally asymptotically stable.

The following theorem has been proven.

Theorem 2: For a buck-boost converter with asymptotically stable zero dynamics (using leading-edge modulation), with constraint

$\begin{matrix} {{R_{c}C} > \frac{LD}{R\left( {1 - D} \right)}} & (60) \end{matrix}$

and control law

$\begin{matrix} {{d = {\frac{1}{L_{g}L_{f}^{r - 1}y}\left( {{{- L_{f}^{r}}y} - {k\left( {y - y_{0}} \right)}} \right)}};} & (61) \end{matrix}$

the nonlinear system

{dot over (ξ)}=−kξ+v

{dot over (η)}=q(ξ,η),

y=ξ  (62)

with v=0, is asymptotically stable at each equilibrium point (the characteristic polynomial p(s) has a root with negative real part) which means that the original nonlinear system

{dot over (x)}=f(x)+g(x)d

y=h(x)  (63)

is locally asymptotically stable at each equilibrium point (x₁₀, x₂₀) in the set

S={(x ₁ ,x ₂),xε

x₁≧0,x ₂>0}

with 0≦d≦1.

Recall that (x₁₀, x₂₀) corresponds to y₀ through equation (51).

Theorem 2 indicates local asymptotic stability. In practice, the reference input y₀ is ramped up in a so-called “soft-start” mode of operation. This theorem also guarantees local asymptotic stability at each operating point passed through by the system on its way up to the desired operating point.

REFERENCES

-   1) S. Ćuk, Modeling, Analysis, and Design of Switching Converters,     Ph.D. Dissertation, California Institute of Technology (1977). -   2) R. D. Middlebrook and S. Ćuk, A general unified approach to     modeling switching-converter power stages, IEEE Power Electronics     Specialists Conference Record, June 1976, 18-34. -   3) D. M. Mitchell, DC-DC Switching Regulator Analysis, Reprint     Edition, D. M. Mitchell Consultants, Cedar Rapids, Iowa (1992),     McGraw-Hill, Inc. (1988). -   4) J. J. E. Slotine and W. Li, Applied Nonlinear Control,     Prentice-Hall, Inc. (1991). -   5) A. Isidori, Nonlinear Control systems 3^(rd) Ed, Springer-Verlag     London Limited (1995). -   6) R. Su, On the linear equivalents of nonlinear systems, Systems     and Control Letters 2, (1982), 48-52. -   7) R. Su and L. R. Hunt, Linear equivalents of nonlinear     time-varying systems, International Symposium on Mathematical Theory     of Networks and Systems (1981), 119-123. -   8) L. R. Hunt, R. Su, and G. Meyer, Design for multi-input nonlinear     systems, Differential Geometric Control Theory, Birkhauser,     Boston, R. W. Brockett, R. S. Millman, and H. J. Sussman, Eds.,     (1983), 268-298. -   9) L. R. Hunt, R. Su, and G. Meyer, Global transformations of     nonlinear systems, IEEE Transactions on Automatic Control, 28     (1983), 24-31. -   10) G. Meyer, L. R. Hunt, and R. Su, Applications of nonlinear     transformations to automatic flight control, Automatica, 20 (1984),     103-107. -   11) S. R. Sanders, Nonlinear control of switching power converters,     Ph.D. dissertation, Massachusetts Institute of Technology (1989). -   12) H. Sira-Ramirez and M. Ilic-Spong, Exact linearization in     switched mode dc-to-dc power converters, Int. J. Control, 50 (1989),     511-524. -   13) Marc Bodson and John Chiasson, Differential-geometric methods     for control of electric motors, Int. J. Robust and Nonlinear Control     8, (1998), 923-954. -   14) H. Sira-Ramirez, Switched control of bilinear converters via     pseudolinearization, IEEE Transactions on Circuits and Systems, VOL     36, NO. 6, (1989). -   15) R. Su, G. Meyer, and L. R. Hunt, Robustness in nonlinear     control, Differential Geometric Control Theory, Birkhauser,     Boston, R. W. Brockett, R. S. Millman, and H. J. Sussman, Eds.,     (1983), 316-337. -   16) Dan M. Sable, Bo H. Cho, Ray B. Ridley, Elimination of the     positive zero in fixed frequency boost and flyback converters,     Proceedings of 5th IEEE Applied Power Electronics Conference,     (1990), 205-211. -   17) Daniel J. Shortt, An Improved Switching Converter Model, Ph.D.     Dissertation, Virginia Polytechnic Institute and State University     (1982). -   18) C. W. Deisch, “Simple switching control method changes power     converter into a current source,” IEEE Power Electronics Specialists     Conference, 1978 Record, pp. 300-306. -   19) Raymond B. Ridley, A New Small-Signal Model For Current-Mode     Control, Ph. D. Dissertation, Virginia Polytechnic Institute and     State University (1990). -   20) Bruce L. Wilkinson and Josh Mandelcorn, “Unity power factor     power supply,” Pioneer Research, Inc. U.S. Pat. No. 4,677,366. -   21) Wei Tang, “Average Current-Mode Control and Charge Control For     PWM Converters,” Ph. D. Dissertation, Virginia Polytechnic Institute     and State University (1994). -   22) Robert J. Taylor, Feedback Linearization of Fixed Frequency PWM     Converters, Ph.D. Dissertation, University of Texas at Dallas     (2004).

Although preferred embodiments of the present invention have been described in detail, it will be understood by those skilled in the art that various modifications can be made therein without departing from the spirit and scope of the invention as set forth in the appended claims. 

1. A method for controlling a boost converter using a PWM modulator/controller comprising the steps of: receiving a first voltage from an output of the boost converter, a second voltage from a reference voltage source, a first current from an inductor within the boost converter and a fourth voltage from a voltage source providing an input voltage to the boost converter at the PWM modulator/controller; creating a third voltage representing a difference between the first voltage from the output of the boost converter and the second voltage from the reference voltage source; adjusting the third voltage by a proportional gain; creating a control signal that provides leading-edge modulation with input-output linearization based on the first voltage from the output of the boost converter, the second voltage from the reference voltage source, the adjusted third voltage, the fourth voltage from the voltage source or the input of the converter, and the first current from the inductor within the boost converter, wherein the control signal has a duty cycle defined by ${d = \frac{\begin{matrix} {{\left( {{{RR}_{c}C} + L} \right)y} - {\left( {L - {R_{s}R_{c}C}} \right){Rx}_{1}} -} \\ {{{RR}_{c}{Cu}_{0}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}} \end{matrix}}{R\left( {{R_{c}{Cy}} - {\frac{LR}{R + R_{c}}x_{1}}} \right)}};{and}$ controlling the boost converter using the control signal created by the PWM modulator/controller.
 2. The method as recited in claim 1, further comprising the step of controlling the boost converter with a proportional (P) controller, an integral (I) controller, or a derivative (D) controller or a controller that is a combination of these three by replacing k(y₀−y) in the equation defining the duty cycle d with $\left( {k_{P} + \frac{k_{i}}{s} + {k_{d}s}} \right)\left( {y_{0} - y} \right)$ where k_(p), k_(i), and k_(d) are the gains of the proportional, integral, and derivative terms of the controller.
 3. The method as recited in claim 1, wherein: the control of the non-linear system cannot be unstable; the control signal is created using a first order system; or the control signal is independent of a stabilizing gain, a desired output voltage or a desired output trajectory.
 4. A boost converter controlled in accordance with the method of claim
 1. 5. A method for controlling a buck-boost converter using a PWM modulator/controller comprising the steps of: receiving a first voltage from an output of the buck-boost converter, a second voltage from a reference voltage source, a first current from an inductor within the buck-boost converter and a fourth voltage from a voltage source providing an input voltage to the buck-boost converter at the PWM modulator/controller; creating a third voltage representing a difference between the first voltage from the output of the buck-boost converter and the second voltage from the reference voltage source; adjusting the third voltage by a proportional gain; creating a control signal that provides leading-edge modulation with input-output linearization based on the first voltage from the output of the buck-boost converter, the second voltage from the reference voltage source, the adjusted third voltage, the fourth voltage from the voltage source or the input of the buck-boost converter, and the first current from the inductor within the buck-boost converter, wherein the control signal has a duty cycle defined by ${d = \frac{{\left( {{{RR}_{c}C} + L} \right)y} + {\left( {L - {R_{c}R_{s}C}} \right){Rx}_{1}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}}{R\left( {{R_{c}{Cy}} + {\frac{LR}{R + R_{c}}x_{1}} - {R_{c}{Cu}_{0}}} \right)}};{and}$ controlling the buck-boost converter using the control signal created by the PWM modulator/controller.
 6. The method as recited in claim 5, further comprising the step of controlling the buck-boost converter with a proportional (P) controller, an integral (I) controller, or a derivative (D) controller or a controller that is a combination of these three by replacing k(y₀−y) in the equation for the duty cycle d with $\left( {k_{P} + \frac{k_{i}}{s} + {k_{d}s}} \right)\left( {y_{0} - y} \right)$ where k_(p), k_(i), and k_(d) are the gains of the proportional, integral, and derivative terms of the controller.
 7. The method as recited in claim 5, wherein: the control of the non-linear system cannot be unstable; the control signal is created using a first order system; or the control signal is independent of a stabilizing gain, a desired output voltage or a desired output trajectory.
 8. A buck-boost converter controlled in accordance with the method of claim
 5. 9. An apparatus comprising one or more electrical circuits that provide a control signal to a boost converter such that a duty cycle of the control signal is defined as $d = {\frac{\begin{matrix} {{\left( {{{RR}_{c}C} + L} \right)y} - {\left( {L - {R_{s}R_{c}C}} \right){Rx}_{1}} -} \\ {{{RR}_{c}{Cu}_{0}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}} \end{matrix}}{R\left( {{R_{c}{Cy}} - {\frac{LR}{R + R_{c}}x_{1}}} \right)}.}$
 10. The apparatus as recited in claim 9, wherein the one or more electrical circuits comprise: a first connection to receive an output voltage from the boost converter; a second connection to receive a reference voltage; a third connection to receive an inductor current from the boost converter; a fourth connection to receive an input voltage from the boost converter; a fifth connection to output the control signal; a summing circuit connected to the first connection and the second connection to create a third voltage representing a difference between the first voltage from the output of the boost converter and the second voltage from the reference voltage source; a gain circuit connected to the summing circuit to adjust the third voltage by a proportional gain; and a modulating circuit connected to the gain circuit, the second connection, the third connection, the fourth connection and the fifth connection, the modulation circuit creating the control signal based on the first voltage, the second voltage, the adjusted third voltage, the fourth voltage, and the first current.
 11. The apparatus as recited in claim 9, further comprising a proportional (P) controller, an integral (I) controller, or a derivative (D) controller or a controller that is a combination of these three by replacing k(y₀−y) in the equation for the duty cycle d with $\left( {k_{P} + \frac{k_{i}}{s} + {k_{d}s}} \right)\left( {y_{0} - y} \right)$ where k_(p), k_(i), and k_(d) are the gains of the proportional, integral, and derivative terms of the controller.
 12. An apparatus comprising one or more electrical circuits that provide a control signal to a buck-boost converter such that a duty cycle of the control signal is defined as $d = {\frac{{\left( {{{RR}_{c}C} + L} \right)y} + {\left( {L - {R_{c}R_{s}C}} \right){Rx}_{1}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}}{R\left( {{R_{c}{Cy}} + {\frac{LR}{R + R_{c}}x_{1}} - {R_{c}{Cu}_{0}}} \right)}.}$
 13. The apparatus as recited in claim 12, wherein the one or more electrical circuits comprise: a first connection to receive an output voltage from the buck-boost converter; a second connection to receive a reference voltage; a third connection to receive an inductor current from the buck-boost converter; a fourth connection to receive an input voltage from a voltage source to the buck-boost converter; a fifth connection to output a control signal; a summing circuit connected to the first connection and the second connection to create a third voltage representing a difference between the first voltage from the output of the buck-boost converter and the second voltage from the reference voltage source; a gain circuit connected to the summing circuit to adjust the third voltage by a proportional gain; and a modulating circuit connected to the gain circuit, the second connection, the third connection, the fourth connection and the fifth connection, the modulation circuit creating the control signal based on the first voltage, the second voltage, the adjusted third voltage, the fourth voltage, and the first current.
 14. The apparatus as recited in claim 12, further comprising a proportional (P) controller, an integral (I) controller, or a derivative (D) controller or a controller that is a combination of these three by the duty cycle d with k(y₀−y) replaced by $\left( {k_{P} + \frac{k_{i}}{s} + {k_{d}s}} \right)\left( {y_{0} - y} \right)$ where k_(p), k_(i), and k_(d) are the gains of the proportional, integral, and derivative terms of the controller.
 15. A system comprising: a boost converter having a first voltage at an output of the boost converter, a fourth voltage at a voltage source or an input of the boost converter and a first current at an inductor within the boost converter; a reference voltage source having a second voltage; and a PWM modulator/controller comprising: a summing circuit connected to the boost converter and the reference voltage source to create a third voltage representing a difference between the first voltage from the output of the boost converter and the second voltage from the reference voltage source, a gain circuit connected to the summing circuit to adjust the third voltage by a proportional gain, and a modulating circuit connected to the gain circuit, the boost converter, and the reference voltage source to create a control signal to control the boost converter, wherein the control signal provides leading-edge modulation with input-output linearization that is based on the first voltage from the output of the boost converter, the second voltage from the reference voltage source, the adjusted third voltage from the gain circuit, the fourth voltage from the voltage source or the input of the boost converter, the first current from the inductor within the boost converter and the second current from the reference current source, wherein the control signal is defined by $d = {\frac{\begin{matrix} {{\left( {{{RR}_{c}C} + L} \right)y} - {\left( {L - {R_{s}R_{c}C}} \right){Rx}_{1}} -} \\ {{{RR}_{c}{Cu}_{0}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}} \end{matrix}}{R\left( {{R_{c}{Cy}} - {\frac{LR}{R + R_{c}}x_{1}}} \right)}.}$
 16. The system as recited in claim 15, further comprising a proportional (P) controller, an integral (I) controller, or a derivative (D) controller or a controller that is a combination of these three by replacing k(y₀−y) in the equation for the duty cycle d with $\left( {k_{P} + \frac{k_{i}}{s} + {k_{d}s}} \right)\left( {y_{0} - y} \right)$ where k_(p), k_(i), and k_(d) are the gains of the proportional, integral, and derivative terms of the controller.
 17. The system as recited in claim 15, wherein: the reference voltage source is integrated into the PWM modulator/controller; or the PWM modulator/controller is implemented using a digital signal processor or conventional electrical circuitry.
 18. A system comprising: a buck-boost converter having a first voltage at an output of the buck-boost converter, a fourth voltage at voltage source or an input of the buck-boost converter and a first current at an inductor within the buck-boost converter; a reference voltage source having a second voltage; and a PWM modulator/controller comprising: a summing circuit connected to the buck-boost converter and the reference voltage source to create a third voltage representing a difference between the first voltage from the output of the buck-boost converter and the second voltage from the reference voltage source, a gain circuit connected to the summing circuit to adjust the third voltage by a proportional gain, and a modulating circuit connected to the gain circuit, the buck-boost converter, and the reference voltage source to create a control signal to control the buck-boost converter, wherein the control signal provides leading-edge modulation with input-output linearization that is based on the first voltage from the output of the buck-boost converter, the second voltage from the reference voltage source, the adjusted third voltage from the gain circuit, the fourth voltage from the voltage source or the input of the buck-boost converter, and the first current from the inductor within the buck-boost converter, wherein the control signal is defined by $d = {\frac{{\left( {{{RR}_{c}C} + L} \right)y} + {\left( {L - {R_{c}R_{s}C}} \right){Rx}_{1}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}}{R\left( {{R_{c}{Cy}} + {\frac{LR}{R + R_{c}}x_{1}} - {R_{c}{Cu}_{0}}} \right)}.}$
 19. The system as recited in claim 18, further comprising a proportional (P) controller, an integral (I) controller, or a derivative (D) controller or a controller that is a combination of these three by the duty cycle d with k(y₀−y) replaced by $\left( {k_{P} + \frac{k_{i}}{s} + {k_{d}s}} \right)\left( {y_{0} - y} \right)$ where k_(p), k_(i), and k_(d) are the gains of the proportional, integral, and derivative terms of the controller.
 20. The system as recited in claim 18, wherein: the reference voltage source is integrated into the PWM modulator/controller; or the PWM modulator/controller is implemented using a digital signal processor, a FPGA, or conventional electrical circuitry.
 21. A kit for a PWM modulated boost converter comprising; a digital signal processor or FPGA comprising: a first connection to receive a first voltage from an output of the boost converter, a second connection to receive a second voltage from a reference voltage source, a third connection to receive a first current from an inductor within the boost converter, a fourth connection to receive a fourth voltage from a voltage source or an input of the boost converter, a fifth connection to output a control signal to the boost converter, a summing circuit connected to the first connection and the second connection to create a third voltage representing a difference between the first voltage from the output of the boost converter and the second voltage from the reference voltage source, a gain circuit connected to the summing circuit to adjust the third voltage by a proportional gain, and a PWM modulating circuit connected to the gain circuit, the first connection, the second connection, the third connection, the fourth connection and the fifth connection, the modulation circuit creating the control signal that provides leading-edge modulation with input-output linearization based on the first voltage from the output of the boost converter, the second voltage from the reference voltage source, the adjusted third voltage from the gain circuit, the fourth voltage from the voltage source or the input of the boost converter, and the first current from the inductor within the boost converter, wherein the control signal is defined by ${d = \frac{\begin{matrix} {{\left( {{{RR}_{c}C} + L} \right)y} - {\left( {L - {R_{s}R_{c}C}} \right){Rx}_{1}} -} \\ {{{RR}_{c}{Cu}_{0}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}} \end{matrix}}{R\left( {{R_{c}{Cy}} - {\frac{LR}{R + R_{c}}x_{1}}} \right)}};{and}$ a computer program embodied on a computer readable medium for programming the digital signal processor or FPGA to control the PWM modulated boost converter.
 22. The kit as recited in claim 21, wherein the computer program further comprises one or more design tools.
 23. A kit for a PWM modulated buck-boost converter comprising; a digital signal processor or FPGA comprising: a first connection to receive a first voltage from an output of the buck-boost converter, a second connection to receive a second voltage from a reference voltage source, a third connection to receive a first current from an inductor within the buck-boost converter, a fourth connection to receive a fourth voltage from a voltage source or an input of the buck-boost converter, a fifth connection to output a control signal to the buck-boost converter, a summing circuit connected to the first connection and the second connection to create a third voltage representing a difference between the first voltage from the output of the buck-boost converter and the second voltage from the reference voltage source, a gain circuit connected to the summing circuit to adjust the third voltage by a proportional gain, and a PWM modulating circuit connected to the gain circuit, the first connection, the second connection, the third connection, the fourth connection and the fifth connection, the modulation circuit creating the control signal that provides leading-edge modulation with input-output linearization based on the first voltage from the output of the buck-boost converter, the second voltage from the reference voltage source, the adjusted third voltage from the gain circuit, the fourth voltage from the voltage source or the input of the buck-boost converter, and the first current from the inductor within the buck-boost converter, wherein the control signal is defined by ${d = \frac{{\left( {{{RR}_{c}C} + L} \right)y} + {\left( {L - {R_{c}R_{s}C}} \right){Rx}_{1}} + {\left( {R + R_{c}} \right){{LCk}\left( {y_{0} - y} \right)}}}{R\left( {{R_{c}{Cy}} + {\frac{LR}{R + R_{c}}x_{1}} - {R_{c}{Cu}_{0}}} \right)}};{and}$ a computer program embodied on a computer readable medium for programming the digital signal processor or FPGA to control the PWM modulated buck-boost converter.
 24. The kit as recited in claim 23, wherein the computer program further comprises one or more design tools. 